package com.app.service.supermarket;


import com.app.model.supermarket.MktPersonModel;
import com.app.model.supermarket.OddJobReleaseModel;
import com.app.vo.supermarket.OddJobReleaseVo;

import java.util.List;

/**
 * @Description: ***
 * @Author: N
 * @Date: 2022年11月24日10点26分
 */
public interface OddJobReleaseService {


    int insert(OddJobReleaseModel model);

    void update(OddJobReleaseModel model);

    void delete(int id);

    List<OddJobReleaseModel> getOddJobReleaseListByModel(OddJobReleaseModel model);

    List<OddJobReleaseVo> getOddJobReleaseListByState(OddJobReleaseVo model);
    OddJobReleaseModel getOddJobReleaseById(int id);

    /**
     * 根据id获取零工地址+
     * @param id
     * @return
     */
    String getAddressById(Integer id);

    int countMid(int mid);//我发的活的数量

    int selectNumber(int id);//查询活要几个人


    OddJobReleaseModel  getOddById(int id,int mid);

}
